package com.example.service.impl;

import com.example.entity.GoodsType;
import com.example.mapper.ProductTypeMapper;
import com.example.service.IProductTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductTypeServicelmpl implements IProductTypeService {

    @Autowired
    private ProductTypeMapper mapper;


    @Override
    public List<GoodsType> findAll() {
        return mapper.findAll();
    }

}
